#include "Singleton.h"
#include "p2p.h"


class CPPCool : public IPPCool
{
DEFINE_SINGLETON(CPPCool)

public:

	bool Init(IPPCoolListener * pListener);

	bool SendMessage(int MsgType, void * pMsgData, int Length);

	void Release();

private:
	IPPCoolListener * m_pListener;
	bool m_bRun;
};